package com.example.shirodemo.mapper;

import com.example.shirodemo.entity.SRoleMenu;import org.apache.ibatis.annotations.Param;import java.util.List;

/**
 * @Author 绫小路
 * @Date 2021/1/15
 */

public interface SRoleMenuMapper {
  int deleteByPrimaryKey(Integer id);

  int insertSelective(SRoleMenu record);

  SRoleMenu selectByPrimaryKey(Integer id);

  int updateByPrimaryKeySelective(SRoleMenu record);

  int updateByPrimaryKey(SRoleMenu record);

  int deleteAll(@Param("roleId") int roleId);

  int addAll(@Param("roleId") int roleId, @Param("ids") List<Integer> ids);
}